<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div style="width:100%">
    <div style="width:15%;float:left;">
		<ul id="tree" class="ztree"></ul>
		<script>
			var zTreeObj;
			var setting = {};
			var zNodes = ${tree};
			var root = "<%=request.getContextPath()%>";
			$(document).ready(function() {
				zTreeObj = $.fn.zTree.init($("#tree"), setting, zNodes);
				$(document).bjuiajax('doLoad', {
					target:$("#treedata"),
					url:root+'/t/module/children.do?code=rear_manage'
				});
			});
			function link(_this) {
				var url = root+'/'+$(_this).attr("target");
				$(_this).bjuiajax('doLoad', {
					target:$("#treedata"),
					url:url
				});
			}
		</script>
	</div>
	<div id="bjui-splitBar" style="height:100%;"></div>
	<div class="navtabPage unitBox" style="float:right;width:81%">
		<div class="bjui-pageContent bjui-resizeGrid" style="float:right;width:81%">
		    <div class="bjui-tablefixed clearfix" >
		    	<div class="fixedtableHeader" >
			    	<div id="treedata" class="fixedtableThead"></div>
		    	</div>
			</div>
		</div>
	</div>
</div>